<?php

namespace IDock\Insurance\ACIC\Response\NonCar;

use IDock\Http\Response;
use IDock\Insurance\ACIC\Response\AllACICResponse;

class NonCarInquiryNoPreBuildResponse extends AllACICResponse
{

    /**
     * 请求ID
     * @var string $nonCarRequestId
     */
    public $nonCarRequestId = '';

    /**
     * 投保单号
     * @var string $inquiryNo
     */
    public $inquiryNo = '';

    public function printerInit(): Response
    {

        $this->nonCarRequestId = $this->get('ProductItem')['Id'];

        $this->inquiryNo = $this->get('ProductItem')['AppNo'];

        return $this;
    }
}
